import {BaseEntity,Column,Entity,Index,JoinColumn,JoinTable,ManyToMany,ManyToOne,OneToMany,OneToOne,PrimaryColumn,PrimaryGeneratedColumn,RelationId} from "typeorm";
import {QrtzTriggers} from "./QrtzTriggers";


@Entity("QRTZ_SIMPROP_TRIGGERS",{schema:"nest-mall" } )
export class QrtzSimpropTriggers {

   
    @ManyToOne(type=>QrtzTriggers, qRTZ_TRIGGERS=>qRTZ_TRIGGERS.qRtzSimpropTriggerSs,{ primary:true, nullable:false,onDelete: 'RESTRICT',onUpdate: 'RESTRICT' })
    @JoinColumn({ name:'SCHED_NAME'})
    sChedName:QrtzTriggers | null;


   
    @ManyToOne(type=>QrtzTriggers, qRTZ_TRIGGERS=>qRTZ_TRIGGERS.qRtzSimpropTriggerSs2,{ primary:true, nullable:false,onDelete: 'RESTRICT',onUpdate: 'RESTRICT' })
    @JoinColumn({ name:'TRIGGER_NAME'})
    tRiggerName:QrtzTriggers | null;


   
    @ManyToOne(type=>QrtzTriggers, qRTZ_TRIGGERS=>qRTZ_TRIGGERS.qRtzSimpropTriggerSs3,{ primary:true, nullable:false,onDelete: 'RESTRICT',onUpdate: 'RESTRICT' })
    @JoinColumn({ name:'TRIGGER_GROUP'})
    tRiggerGroup:QrtzTriggers | null;


    @Column("varchar",{ 
        nullable:true,
        length:512,
        name:"STR_PROP_1"
        })
    strProp_1:string | null;
        

    @Column("varchar",{ 
        nullable:true,
        length:512,
        name:"STR_PROP_2"
        })
    strProp_2:string | null;
        

    @Column("varchar",{ 
        nullable:true,
        length:512,
        name:"STR_PROP_3"
        })
    strProp_3:string | null;
        

    @Column("int",{ 
        nullable:true,
        name:"INT_PROP_1"
        })
    intProp_1:number | null;
        

    @Column("int",{ 
        nullable:true,
        name:"INT_PROP_2"
        })
    intProp_2:number | null;
        

    @Column("bigint",{ 
        nullable:true,
        name:"LONG_PROP_1"
        })
    longProp_1:string | null;
        

    @Column("bigint",{ 
        nullable:true,
        name:"LONG_PROP_2"
        })
    longProp_2:string | null;
        

    @Column("decimal",{ 
        nullable:true,
        precision:13,
        scale:4,
        name:"DEC_PROP_1"
        })
    decProp_1:string | null;
        

    @Column("decimal",{ 
        nullable:true,
        precision:13,
        scale:4,
        name:"DEC_PROP_2"
        })
    decProp_2:string | null;
        

    @Column("varchar",{ 
        nullable:true,
        length:1,
        name:"BOOL_PROP_1"
        })
    boolProp_1:string | null;
        

    @Column("varchar",{ 
        nullable:true,
        length:1,
        name:"BOOL_PROP_2"
        })
    boolProp_2:string | null;
        
}
